Class DifferencesPNGPresenter
This presenter generates images for a complete graphical representation of the comparison. Generates one images or if multiple files must be generated a zip file containing the images.The visual representation is similar to the one of the i-net PDFC GUI.
Inheritance
DifferencesPNGPresenter
Inherited Members
Namespace: inetsoftware.Pdfc.Presenter
Assembly: inetsoftware.Pdfc.dll
Syntax
public class DifferencesPNGPresenter : ExportFilePresenter
Constructors
DifferencesPNGPresenter(string)
Creates the presenter
Declaration
public DifferencesPNGPresenter(string rootFolder)
Parameters
| Type | Name | Description |
|---|---|---|
| string | rootFolder | the folder to store the comparison results to. |
DifferencesPNGPresenter(string, bool)
Creates the presenter
Declaration
public DifferencesPNGPresenter(string target, bool isFolder)
Parameters
| Type | Name | Description |
|---|---|---|
| string | target | the folder or file to store the comparison results to. |
| bool | isFolder | if the target is a folder or a file |
Methods
SetSize(int, int)
Set the size of each image created.
Default value is 1000x1000 px.Declaration
public void SetSize(int width, int height)
Parameters
| Type | Name | Description |
|---|---|---|
| int | width | the width of one image in px. |
| int | height | the height of one image in px. |